package cn.datax.service.workflow.service;

import cn.datax.service.workflow.api.dto.ProcessInstanceCreateRequest;
import cn.datax.service.workflow.api.entity.BusinessFlowEntity;
import cn.datax.service.workflow.api.query.FlowInstanceQuery;
import cn.datax.service.workflow.api.vo.BusinessFlowVo;
import cn.datax.service.workflow.api.vo.FlowHistInstanceVo;
import cn.datax.service.workflow.api.vo.FlowInstanceVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.io.InputStream;
import java.util.List;

public interface BusinessFlowStaticsService {

    /**
     * 获取API发布时间统计
     * @param queryWrapper
     * @return
     */
    List<BusinessFlowEntity> getApiPublishList(QueryWrapper<BusinessFlowEntity> queryWrapper);

    /**
     * 获取API发布时间统计-线型图
     * @param beginTime
     * @return
     */
    List<BusinessFlowEntity> getApiPublishStatics(String beginTime,String endTime);

}
